//生产计划
import request from '@/axios/axios.js'
//编辑
export const editBaseDataPlanApi = (params) => {
    return request({
        method: 'put',
        url: '/api/planOrder/update',
        data: params
    })
}
//新增
export const addBaseDataPlanApi = (params) => {
    return request({
        method: 'post',
        url: '/api/planOrder/save',
        data: params
    })
}
// 删除
export const deleteBaseDataPlanApi = (params) => {
    return request({
        method: 'delete',
        url: '/api/planOrder/delete',
        data: params
    })
}
//查询
export const productBaseDataPlanApi = (params) => {
    return request({
        method: 'post',
        url: '/api/planOrder/getPage',
        data: params
    })
}
export const lineAll = (params) => {
    return request({
        method: 'post',
        url: '/api/basedataOrganization/getPage',
        data: params
    })
}